package org.cypress.rtpack.service;

import com.baomidou.mybatisplus.extension.service.IService;

import org.cypress.rtpack.common.core.Result;
import org.cypress.rtpack.entity.RtpackQushi;
import org.cypress.rtpack.entity.RtpackQutag;

import java.util.List;


/**
 * @author getty
 */
public interface IRtpackQutagService extends IService<RtpackQutag> {
    /**
     * 新增趋势标签
     * @param rtpackQutag 趋势标签信息
     * @return Result
     */
    Result addQutag(RtpackQutag rtpackQutag);

    /**
     * 删除趋势标签
     * @param id 趋势标签ID
     * @return Result
     */
    Result deleteQutag(String id);

    /**
     * 更新趋势标签
     * @param rtpackQutag 趋势标签信息
     * @return Result
     */
    Result updateQutag(RtpackQutag rtpackQutag);

    /**
     * 获取趋势标签列表
     * @return Result
     */
    Result getQutagList();

    /**
     * 根据ID获取趋势标签详情
     * @param id 趋势标签ID
     * @return Result
     */
    Result getQutagById(String id);
    List<RtpackQutag> getQutagByth(String th);
    Result deleteQutagByth(String th);
}